package com.woniuxy.homepage.core.mapper;

import com.woniuxy.homepage.core.model.CarType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gmx
 * @since 2021-06-29
 */
public interface CarTypeMapper extends BaseMapper<CarType> {


    @Select("select * from car_type where brand_id = #{brandId}")
    List<CarType> selectByBrandId(Integer brandId);
}
